package model;

import java.sql.Timestamp;

public class Subject {
    private int id;
    private String subjectCode;
    private String subjectName;
    private double credits;
    private int hours;
    private String majorCode;
    private String majorName;
    private Timestamp createdAt;
    
    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    
    public String getSubjectCode() { return subjectCode; }
    public void setSubjectCode(String subjectCode) { this.subjectCode = subjectCode; }
    
    public String getSubjectName() { return subjectName; }
    public void setSubjectName(String subjectName) { this.subjectName = subjectName; }
    
    public double getCredits() { return credits; }
    public void setCredits(double credits) { this.credits = credits; }
    
    public int getHours() { return hours; }
    public void setHours(int hours) { this.hours = hours; }
    
    public String getMajorCode() { return majorCode; }
    public void setMajorCode(String majorCode) { this.majorCode = majorCode; }
    
    public String getMajorName() { return majorName; }
    public void setMajorName(String majorName) { this.majorName = majorName; }
    
    public Timestamp getCreatedAt() { return createdAt; }
    public void setCreatedAt(Timestamp createdAt) { this.createdAt = createdAt; }
} 